

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>pyanaconda.ui.tui package &mdash; Anaconda 25.14 documentation</title>
  

  
  

  

  
  
    

  

  
  
    <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  

  

  
    <link rel="top" title="Anaconda 25.14 documentation" href="index.html"/>
        <link rel="up" title="pyanaconda.ui package" href="pyanaconda.ui.html"/>
        <link rel="next" title="pyanaconda.ui.tui.hubs package" href="pyanaconda.ui.tui.hubs.html"/>
        <link rel="prev" title="pyanaconda.ui.lib package" href="pyanaconda.ui.lib.html"/> 

  
  <script src="_static/js/modernizr.min.js"></script>

</head>

<body class="wy-body-for-nav" role="document">

  <div class="wy-grid-for-nav">

    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search">
          

          
            <a href="index.html" class="icon icon-home"> Anaconda
          

          
          </a>

          
            
            
              <div class="version">
                25.14
              </div>
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
                <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="intro.html">Introduction to Anaconda</a></li>
<li class="toctree-l1"><a class="reference internal" href="release.html">Building a Release</a></li>
<li class="toctree-l1"><a class="reference internal" href="boot-options.html">Anaconda Boot Options</a></li>
<li class="toctree-l1"><a class="reference internal" href="kickstart.html">Anaconda Kickstart Documentation</a></li>
<li class="toctree-l1"><a class="reference internal" href="commit-log.html">Rules for commit messages</a></li>
<li class="toctree-l1"><a class="reference internal" href="driverdisc.html">Brief description of DriverDisc version 3</a></li>
<li class="toctree-l1"><a class="reference internal" href="iscsi.html">iSCSI and Anaconda</a></li>
<li class="toctree-l1"><a class="reference internal" href="multipath.html">Multipath and Anaconda</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">pyanaconda</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="pyanaconda.html">pyanaconda package</a><ul class="current">
<li class="toctree-l3 current"><a class="reference internal" href="pyanaconda.html#subpackages">Subpackages</a><ul class="current">
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.installclasses.html">pyanaconda.installclasses package</a></li>
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.isys.html">pyanaconda.isys package</a></li>
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.packaging.html">pyanaconda.packaging package</a></li>
<li class="toctree-l4 current"><a class="reference internal" href="pyanaconda.ui.html">pyanaconda.ui package</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#submodules">Submodules</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.addons">pyanaconda.addons module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.anaconda">pyanaconda.anaconda module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.anaconda_argparse">pyanaconda.anaconda_argparse module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.anaconda_log">pyanaconda.anaconda_log module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.bootloader">pyanaconda.bootloader module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.constants">pyanaconda.constants module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.constants_text">pyanaconda.constants_text module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.desktop">pyanaconda.desktop module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.errors">pyanaconda.errors module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.exception">pyanaconda.exception module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.flags">pyanaconda.flags module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.geoloc">pyanaconda.geoloc module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.i18n">pyanaconda.i18n module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.ihelp">pyanaconda.ihelp module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.image">pyanaconda.image module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.install">pyanaconda.install module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.installclass">pyanaconda.installclass module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.iutil">pyanaconda.iutil module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.kexec">pyanaconda.kexec module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.keyboard">pyanaconda.keyboard module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.kickstart">pyanaconda.kickstart module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.localization">pyanaconda.localization module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.network">pyanaconda.network module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.nm">pyanaconda.nm module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.ntp">pyanaconda.ntp module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.product">pyanaconda.product module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.progress">pyanaconda.progress module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.pwpolicy">pyanaconda.pwpolicy module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.queuefactory">pyanaconda.queuefactory module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.regexes">pyanaconda.regexes module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.rescue">pyanaconda.rescue module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.safe_dbus">pyanaconda.safe_dbus module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.screensaver">pyanaconda.screensaver module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.simpleconfig">pyanaconda.simpleconfig module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.startup_utils">pyanaconda.startup_utils module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.storage_utils">pyanaconda.storage_utils module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.threads">pyanaconda.threads module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.timezone">pyanaconda.timezone module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.users">pyanaconda.users module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.vnc">pyanaconda.vnc module</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda">Module contents</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="testing.html">Testing</a></li>
<li class="toctree-l1"><a class="reference internal" href="tests/modules.html">tests</a></li>
</ul>

            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
        <a href="index.html">Anaconda</a>
      </nav>


      
      <div class="wy-nav-content">
        <div class="rst-content">
          





<div role="navigation" aria-label="breadcrumbs navigation">
  <ul class="wy-breadcrumbs">
    <li><a href="index.html">Docs</a> &raquo;</li>
      
          <li><a href="modules.html">pyanaconda</a> &raquo;</li>
      
          <li><a href="pyanaconda.html">pyanaconda package</a> &raquo;</li>
      
          <li><a href="pyanaconda.ui.html">pyanaconda.ui package</a> &raquo;</li>
      
    <li>pyanaconda.ui.tui package</li>
      <li class="wy-breadcrumbs-aside">
        
          
            <a href="_sources/pyanaconda.ui.tui.txt" rel="nofollow"> View page source</a>
          
        
      </li>
  </ul>
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="pyanaconda-ui-tui-package">
<h1>pyanaconda.ui.tui package<a class="headerlink" href="#pyanaconda-ui-tui-package" title="Permalink to this headline">¶</a></h1>
<div class="section" id="subpackages">
<h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="pyanaconda.ui.tui.hubs.html">pyanaconda.ui.tui.hubs package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.hubs.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.hubs.html#module-pyanaconda.ui.tui.hubs.summary">pyanaconda.ui.tui.hubs.summary module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.hubs.html#module-pyanaconda.ui.tui.hubs">Module contents</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="pyanaconda.ui.tui.simpleline.html">pyanaconda.ui.tui.simpleline package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.simpleline.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.simpleline.html#module-pyanaconda.ui.tui.simpleline.base">pyanaconda.ui.tui.simpleline.base module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.simpleline.html#module-pyanaconda.ui.tui.simpleline.widgets">pyanaconda.ui.tui.simpleline.widgets module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.simpleline.html#module-pyanaconda.ui.tui.simpleline">Module contents</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html">pyanaconda.ui.tui.spokes package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.askvnc">pyanaconda.ui.tui.spokes.askvnc module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.langsupport">pyanaconda.ui.tui.spokes.langsupport module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.network">pyanaconda.ui.tui.spokes.network module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.password">pyanaconda.ui.tui.spokes.password module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.progress">pyanaconda.ui.tui.spokes.progress module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.shell_spoke">pyanaconda.ui.tui.spokes.shell_spoke module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.software">pyanaconda.ui.tui.spokes.software module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.source">pyanaconda.ui.tui.spokes.source module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.storage">pyanaconda.ui.tui.spokes.storage module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.time_spoke">pyanaconda.ui.tui.spokes.time_spoke module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.user">pyanaconda.ui.tui.spokes.user module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.warnings_spoke">pyanaconda.ui.tui.spokes.warnings_spoke module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes">Module contents</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="module-pyanaconda.ui.tui.tuiobject">
<span id="pyanaconda-ui-tui-tuiobject-module"></span><h2>pyanaconda.ui.tui.tuiobject module<a class="headerlink" href="#module-pyanaconda.ui.tui.tuiobject" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="pyanaconda.ui.tui.tuiobject.ErrorDialog">
<em class="property">class </em><code class="descclassname">pyanaconda.ui.tui.tuiobject.</code><code class="descname">ErrorDialog</code><span class="sig-paren">(</span><em>app</em>, <em>message</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.ErrorDialog" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyanaconda.ui.tui.simpleline.html#pyanaconda.ui.tui.simpleline.base.UIScreen" title="pyanaconda.ui.tui.simpleline.base.UIScreen"><code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.tui.simpleline.base.UIScreen</span></code></a></p>
<p>Dialog screen for reporting errors to user.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>app</strong> (<em>instance of App class</em>) &#8211; the running application reference</li>
<li><strong>message</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.5)"><em>str</em></a>) &#8211; the message to show to the user</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="pyanaconda.ui.tui.tuiobject.ErrorDialog.input">
<code class="descname">input</code><span class="sig-paren">(</span><em>args</em>, <em>key</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.ErrorDialog.input" title="Permalink to this definition">¶</a></dt>
<dd><p>This dialog is closed by any input.</p>
<p>And causes the program to quit.</p>
</dd></dl>

<dl class="method">
<dt id="pyanaconda.ui.tui.tuiobject.ErrorDialog.prompt">
<code class="descname">prompt</code><span class="sig-paren">(</span><em>args=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.ErrorDialog.prompt" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyanaconda.ui.tui.tuiobject.ErrorDialog.refresh">
<code class="descname">refresh</code><span class="sig-paren">(</span><em>args=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.ErrorDialog.refresh" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyanaconda.ui.tui.tuiobject.ErrorDialog.title">
<code class="descname">title</code><em class="property"> = 'Error'</em><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.ErrorDialog.title" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyanaconda.ui.tui.tuiobject.PasswordDialog">
<em class="property">class </em><code class="descclassname">pyanaconda.ui.tui.tuiobject.</code><code class="descname">PasswordDialog</code><span class="sig-paren">(</span><em>app</em>, <em>device</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.PasswordDialog" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyanaconda.ui.tui.simpleline.html#pyanaconda.ui.tui.simpleline.base.UIScreen" title="pyanaconda.ui.tui.simpleline.base.UIScreen"><code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.tui.simpleline.base.UIScreen</span></code></a></p>
<p>Dialog screen for password input.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>app</strong> (<em>instance of App class</em>) &#8211; the running application reference</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="pyanaconda.ui.tui.tuiobject.PasswordDialog.answer">
<code class="descname">answer</code><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.PasswordDialog.answer" title="Permalink to this definition">¶</a></dt>
<dd><p>The response can be None (no response) or the password entered.</p>
</dd></dl>

<dl class="method">
<dt id="pyanaconda.ui.tui.tuiobject.PasswordDialog.input">
<code class="descname">input</code><span class="sig-paren">(</span><em>args</em>, <em>key</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.PasswordDialog.input" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyanaconda.ui.tui.tuiobject.PasswordDialog.prompt">
<code class="descname">prompt</code><span class="sig-paren">(</span><em>args=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.PasswordDialog.prompt" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyanaconda.ui.tui.tuiobject.PasswordDialog.refresh">
<code class="descname">refresh</code><span class="sig-paren">(</span><em>args=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.PasswordDialog.refresh" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyanaconda.ui.tui.tuiobject.PasswordDialog.title">
<code class="descname">title</code><em class="property"> = 'Password'</em><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.PasswordDialog.title" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyanaconda.ui.tui.tuiobject.TUIObject">
<em class="property">class </em><code class="descclassname">pyanaconda.ui.tui.tuiobject.</code><code class="descname">TUIObject</code><span class="sig-paren">(</span><em>app</em>, <em>data</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.TUIObject" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyanaconda.ui.tui.simpleline.html#pyanaconda.ui.tui.simpleline.base.UIScreen" title="pyanaconda.ui.tui.simpleline.base.UIScreen"><code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.tui.simpleline.base.UIScreen</span></code></a>, <a class="reference internal" href="pyanaconda.ui.html#pyanaconda.ui.common.UIObject" title="pyanaconda.ui.common.UIObject"><code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.common.UIObject</span></code></a></p>
<p>Base class for Anaconda specific TUI screens. Implements the
common pyanaconda.ui.common.UIObject interface</p>
<dl class="method">
<dt id="pyanaconda.ui.tui.tuiobject.TUIObject.refresh">
<code class="descname">refresh</code><span class="sig-paren">(</span><em>args=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.TUIObject.refresh" title="Permalink to this definition">¶</a></dt>
<dd><p>Put everything to display into self.window list.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyanaconda.ui.tui.tuiobject.TUIObject.showable">
<code class="descname">showable</code><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.TUIObject.showable" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyanaconda.ui.tui.tuiobject.TUIObject.title">
<code class="descname">title</code><em class="property"> = 'Default title'</em><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.TUIObject.title" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyanaconda.ui.tui.tuiobject.YesNoDialog">
<em class="property">class </em><code class="descclassname">pyanaconda.ui.tui.tuiobject.</code><code class="descname">YesNoDialog</code><span class="sig-paren">(</span><em>app</em>, <em>message</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.YesNoDialog" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyanaconda.ui.tui.simpleline.html#pyanaconda.ui.tui.simpleline.base.UIScreen" title="pyanaconda.ui.tui.simpleline.base.UIScreen"><code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.tui.simpleline.base.UIScreen</span></code></a></p>
<p>Dialog screen for Yes - No questions.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>app</strong> (<em>instance of App class</em>) &#8211; the running application reference</li>
<li><strong>message</strong> (<em>unicode</em>) &#8211; the message to show to the user</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="pyanaconda.ui.tui.tuiobject.YesNoDialog.answer">
<code class="descname">answer</code><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.YesNoDialog.answer" title="Permalink to this definition">¶</a></dt>
<dd><p>The response can be True (yes), False (no) or None (no response).</p>
</dd></dl>

<dl class="method">
<dt id="pyanaconda.ui.tui.tuiobject.YesNoDialog.input">
<code class="descname">input</code><span class="sig-paren">(</span><em>args</em>, <em>key</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.YesNoDialog.input" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyanaconda.ui.tui.tuiobject.YesNoDialog.prompt">
<code class="descname">prompt</code><span class="sig-paren">(</span><em>args=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.YesNoDialog.prompt" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyanaconda.ui.tui.tuiobject.YesNoDialog.refresh">
<code class="descname">refresh</code><span class="sig-paren">(</span><em>args=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.YesNoDialog.refresh" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyanaconda.ui.tui.tuiobject.YesNoDialog.title">
<code class="descname">title</code><em class="property"> = 'Question'</em><a class="headerlink" href="#pyanaconda.ui.tui.tuiobject.YesNoDialog.title" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="module-pyanaconda.ui.tui">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyanaconda.ui.tui" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="pyanaconda.ui.tui.TextUserInterface">
<em class="property">class </em><code class="descclassname">pyanaconda.ui.tui.</code><code class="descname">TextUserInterface</code><span class="sig-paren">(</span><em>storage</em>, <em>payload</em>, <em>instclass</em>, <em>productTitle='Anaconda'</em>, <em>isFinal=True</em>, <em>quitMessage=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyanaconda.ui.html#pyanaconda.ui.UserInterface" title="pyanaconda.ui.UserInterface"><code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.UserInterface</span></code></a></p>
<p>This is the main class for Text user interface.</p>
<p class="graphviz">
<img src="_images/inheritance-678d22cf30414f97633cad02d4391116582d906b.png" alt="Inheritance diagram of TextUserInterface" usemap="#inheritance3174816cbf" class="inheritance"/>
<map id="inheritance3174816cbf" name="inheritance3174816cbf">
<area shape="rect" id="node1" href="pyanaconda.ui.html#pyanaconda.ui.UserInterface" title="This is the base class for all kinds of install UIs. &#160;It primarily" alt="" coords="5,5,187,33"/>
<area shape="rect" id="node2" href="#pyanaconda.ui.tui.TextUserInterface" title="This is the main class for Text user interface." alt="" coords="21,81,171,109"/>
</map>
</p>
<p>For detailed description of the arguments see
the parent class.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>storage</strong> (<em>instance of pyanaconda.Storage</em>) &#8211; storage backend reference</li>
<li><strong>payload</strong> (<em>instance of payload handler</em>) &#8211; payload (usually dnf) reference</li>
<li><strong>instclass</strong> (<em>instance of install class</em>) &#8211; install class reference</li>
<li><strong>productTitle</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.5)"><em>str</em></a>) &#8211; the name of the product</li>
<li><strong>isFinal</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.5)"><em>bool</em></a>) &#8211; Boolean that marks the release
as final (True) or development
(False) version.</li>
<li><strong>quitMessage</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.5)"><em>str</em></a>) &#8211; The text to be used in quit
dialog question. It should not
be translated to allow for change
of language.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="pyanaconda.ui.tui.TextUserInterface.ENVIRONMENT">
<code class="descname">ENVIRONMENT</code><em class="property"> = 'anaconda'</em><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface.ENVIRONMENT" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyanaconda.ui.tui.TextUserInterface.basemask">
<code class="descname">basemask</code><em class="property"> = 'pyanaconda.ui'</em><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface.basemask" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyanaconda.ui.tui.TextUserInterface.basepath">
<code class="descname">basepath</code><em class="property"> = '/builddir/anaconda/pyanaconda/ui'</em><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface.basepath" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyanaconda.ui.tui.TextUserInterface.meh_interface">
<code class="descname">meh_interface</code><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface.meh_interface" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyanaconda.ui.tui.TextUserInterface.path">
<code class="descname">path</code><em class="property"> = '/tmp/updates/pyanaconda/ui'</em><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface.path" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyanaconda.ui.tui.TextUserInterface.pathlist">
<code class="descname">pathlist</code><em class="property"> = {'/builddir/anaconda/pyanaconda/ui', '/usr/lib64/python3.5/site-packages/pyanaconda/ui', '/usr/lib/python3.5/site-packages/pyanaconda/ui', '/tmp/updates/pyanaconda/ui'}</em><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface.pathlist" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyanaconda.ui.tui.TextUserInterface.paths">
<code class="descname">paths</code><em class="property"> = {'hubs': [('pyanaconda.ui.tui.hubs.%s', '/builddir/anaconda/pyanaconda/ui/tui/hubs'), ('pyanaconda.ui.tui.hubs.%s', '/usr/lib64/python3.5/site-packages/pyanaconda/ui/tui/hubs'), ('pyanaconda.ui.tui.hubs.%s', '/usr/lib/python3.5/site-packages/pyanaconda/ui/tui/hubs'), ('pyanaconda.ui.tui.hubs.%s', '/tmp/updates/pyanaconda/ui/tui/hubs')], 'categories': [('pyanaconda.ui.categories.%s', '/builddir/anaconda/pyanaconda/ui/categories'), ('pyanaconda.ui.categories.%s', '/usr/lib64/python3.5/site-packages/pyanaconda/ui/categories'), ('pyanaconda.ui.categories.%s', '/usr/lib/python3.5/site-packages/pyanaconda/ui/categories'), ('pyanaconda.ui.categories.%s', '/tmp/updates/pyanaconda/ui/categories')], 'spokes': [('pyanaconda.ui.tui.spokes.%s', '/builddir/anaconda/pyanaconda/ui/tui/spokes'), ('pyanaconda.ui.tui.spokes.%s', '/usr/lib64/python3.5/site-packages/pyanaconda/ui/tui/spokes'), ('pyanaconda.ui.tui.spokes.%s', '/usr/lib/python3.5/site-packages/pyanaconda/ui/tui/spokes'), ('pyanaconda.ui.tui.spokes.%s', '/tmp/updates/pyanaconda/ui/tui/spokes')]}</em><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface.paths" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyanaconda.ui.tui.TextUserInterface.run">
<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface.run" title="Permalink to this definition">¶</a></dt>
<dd><p>Run the interface.  This should do little more than just pass
through to something else&#8217;s run method, but is provided here in
case more is needed.  This method must be provided by all subclasses.</p>
</dd></dl>

<dl class="method">
<dt id="pyanaconda.ui.tui.TextUserInterface.setup">
<code class="descname">setup</code><span class="sig-paren">(</span><em>data</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface.setup" title="Permalink to this definition">¶</a></dt>
<dd><p>Construct all the objects required to implement this interface.
This method must be provided by all subclasses.</p>
</dd></dl>

<dl class="method">
<dt id="pyanaconda.ui.tui.TextUserInterface.showDetailedError">
<code class="descname">showDetailedError</code><span class="sig-paren">(</span><em>message</em>, <em>details</em>, <em>buttons=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface.showDetailedError" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyanaconda.ui.tui.TextUserInterface.showError">
<code class="descname">showError</code><span class="sig-paren">(</span><em>message</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface.showError" title="Permalink to this definition">¶</a></dt>
<dd><p>Display an error dialog with the given message.  After this dialog
is displayed, anaconda will quit.  There is no return value.  This
method must be implemented by all UserInterface subclasses.</p>
<p>In the code, this method should be used sparingly and only for
critical errors that anaconda cannot figure out how to recover from.</p>
</dd></dl>

<dl class="method">
<dt id="pyanaconda.ui.tui.TextUserInterface.showYesNoQuestion">
<code class="descname">showYesNoQuestion</code><span class="sig-paren">(</span><em>message</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface.showYesNoQuestion" title="Permalink to this definition">¶</a></dt>
<dd><p>Display a dialog with the given message that presents the user a yes
or no choice.  This method returns True if the yes choice is selected,
and False if the no choice is selected.  From here, anaconda can
figure out what to do next.  This method must be implemented by all
UserInterface subclasses.</p>
<p>In the code, this method should be used sparingly and only for those
times where anaconda cannot make a reasonable decision.  We don&#8217;t
want to overwhelm the user with choices.</p>
<p>When cmdline mode is active, the default will be to answer no.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyanaconda.ui.tui.TextUserInterface.sitepackages">
<code class="descname">sitepackages</code><em class="property"> = ['/usr/lib64/python3.5/site-packages/pyanaconda/ui', '/usr/lib/python3.5/site-packages/pyanaconda/ui']</em><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface.sitepackages" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyanaconda.ui.tui.TextUserInterface.tty_num">
<code class="descname">tty_num</code><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface.tty_num" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyanaconda.ui.tui.TextUserInterface.updatepath">
<code class="descname">updatepath</code><em class="property"> = '/tmp/updates/pyanaconda/ui'</em><a class="headerlink" href="#pyanaconda.ui.tui.TextUserInterface.updatepath" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="function">
<dt id="pyanaconda.ui.tui.exception_msg_handler">
<code class="descclassname">pyanaconda.ui.tui.</code><code class="descname">exception_msg_handler</code><span class="sig-paren">(</span><em>event</em>, <em>data</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.tui.exception_msg_handler" title="Permalink to this definition">¶</a></dt>
<dd><p>Handler for the HUB_CODE_EXCEPTION message in the hubQ.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>event</strong> (<em>(event_type, message_data)</em>) &#8211; event data</li>
<li><strong>data</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#any" title="(in Python v3.5)"><em>any</em></a>) &#8211; additional data</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>

</div>
</div>


           </div>
          </div>
          <footer>
  
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
      
        <a href="pyanaconda.ui.tui.hubs.html" class="btn btn-neutral float-right" title="pyanaconda.ui.tui.hubs package" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
      
      
        <a href="pyanaconda.ui.lib.html" class="btn btn-neutral" title="pyanaconda.ui.lib package" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
      
    </div>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2015, Red Hat, Inc..

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  

    <script type="text/javascript">
        var DOCUMENTATION_OPTIONS = {
            URL_ROOT:'./',
            VERSION:'25.14',
            COLLAPSE_INDEX:false,
            FILE_SUFFIX:'.html',
            HAS_SOURCE:  true
        };
    </script>
      <script type="text/javascript" src="_static/jquery.js"></script>
      <script type="text/javascript" src="_static/underscore.js"></script>
      <script type="text/javascript" src="_static/doctools.js"></script>

  

  
  
    <script type="text/javascript" src="_static/js/theme.js"></script>
  

  
  
  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.StickyNav.enable();
      });
  </script>
   

</body>
</html>